#pragma once

#include "item.h"
#include "player.h"

class itemManager
{
public:
	static itemManager* Instance();
	void updata();
	void draw();
	void clear();
	/*void add(Item* b);*/
	void add(stdItem std, Point p);
	void checkHit(Player& p);
protected:
	itemManager();
private:
	static itemManager* _instance;
	list<Item*> manager;
	list<Item*> freeMem;
};